package com.dap.system.office.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.dap.common.core.annotation.Excel;
import com.dap.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学生对象 t_student
 *
 * @author dap
 * @date 2021-11-11
 */
public class TStudent extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 学号
     */
    @Excel(name = "学号")
    private String stuId;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    private String stuName;

    /**
     * 班级id
     */
    private Integer classId;

    /**
     * 出生日期
     */
    @Excel(name = "出生日期", width = 30)
    private String stuBirthday;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private String stuSex;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String stuIdNumber;

    /**
     * 民族
     */
    @Excel(name = "民族")
    private String nation;

    /**
     * 年龄
     */
    @Excel(name = "年龄")
    private Integer age;


    /**
     * 照片
     */
    private String photo;
    /**
     * 业务删除
     */
    private String delFlag;

    /**
     * 学生所属班级
     */
    @Excel(name = "所在班级")
    private String className;

    /**
     * 所在学期
     */
    @Excel(name = "所在学期")
    private String semName;

    @Excel(name = "所在年级")
    private String gradeName;

    private Long semId;

    private Long graId;
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String note;




    public Long getSemId() {
        return semId;
    }

    public void setSemId(Long semId) {
        this.semId = semId;
    }

    public Long getGraId() {
        return graId;
    }

    public void setGraId(Long graId) {
        this.graId = graId;
    }

    public String getSemName() {
        return semName;
    }

    public void setSemName(String semName) {
        this.semName = semName;
    }

    /**
     * 学生所属年级
     */


    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuName() {
        return stuName;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setStuBirthday(String stuBirthday) {
        this.stuBirthday = stuBirthday;
    }

    public String getStuBirthday() {
        return stuBirthday;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuIdNumber(String stuIdNumber) {
        this.stuIdNumber = stuIdNumber;
    }

    public String getStuIdNumber() {
        return stuIdNumber;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getNation() {
        return nation;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getAge() {
        return age;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhoto() {
        return photo;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getNote() {
        return note;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("stuId", getStuId())
                .append("stuName", getStuName())
                .append("classId", getClassId())
                .append("stuBirthday", getStuBirthday())
                .append("stuSex", getStuSex())
                .append("stuIdNumber", getStuIdNumber())
                .append("nation", getNation())
                .append("age", getAge())
                .append("photo", getPhoto())
                .append("note", getNote())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .append("className", getClassName())
                .append("gradeName", getGradeName())
                .toString();
    }
}
